﻿<%@ Page Language="C#" ValidateRequest="false" MasterPageFile="~/admin/admin_page.master"
    AutoEventWireup="true" EnableEventValidation="false" CodeBehind="storeask_edit.aspx.cs"
    Inherits="YXShop.Web.admin.store.storeask_edit" %>
<%@ Register Assembly="FredCK.FCKeditorV2" Namespace="FredCK.FCKeditorV2" TagPrefix="FCKeditorV2" %>

<asp:Content ID="ContHead" runat="server" ContentPlaceHolderID="head">
    <link rel="stylesheet" href="../style/validator.css" type="text/css" />
    <link rel="stylesheet" href="../style/toolbar.css" type="text/css" />
    <script type="text/javascript" src="../../scripts/validate.js"></script>
    <script type="text/javascript" src="../scripts/public.js"></script>
</asp:Content>
<asp:Content ID="ContTitle" runat="server" ContentPlaceHolderID="pagetitle">
    留言信息
    <asp:Button ID="btnSave" runat="server" CssClass="inputbutton" Text="保存" onMouseOver="javascript:document.getElementById(this.id).className='inputbutton_a'"
        onMouseOut="javascript:document.getElementById(this.id).className='inputbutton'"
        OnClick="btnSave_Click" />
    <asp:HyperLink ID="HyperLink1" onclick="javascript:history.back()" runat="server"
        CssClass="inputbutton" Width="65px" Height="20px" onMouseOver="javascript:document.getElementById(this.id).className='inputbutton_a'"
        onMouseOut="javascript:document.getElementById(this.id).className='inputbutton'">返  回</asp:HyperLink>
</asp:Content>
<asp:Content ID="ContInfo" runat="server" ContentPlaceHolderID="pageinfo">
</asp:Content>
<asp:Content ID="ContMain" runat="server" ContentPlaceHolderID="workspace">
    <asp:Panel ID="pnlMsg" runat="server" Visible="false" CssClass="pnlReturnMessageErr">
        <asp:Literal ID="ltlMsg" runat="server"></asp:Literal>
    </asp:Panel>
    <table width="100%" cellspacing="0" cellpadding="0" border="1" bordercolorlight="#DDDDDD"
        bordercolordark="#FFFFFF">
        <tr>
            <td class="form_table_input_info">
                留言标题：
            </td>
            <td>
                <asp:TextBox ID="txtMessageTitle" CssClass="long_input" runat="server"></asp:TextBox>
            </td>
            <td>
                <asp:Panel ID="txtMessageTitleTip" runat="server">
                </asp:Panel>
            </td>
        </tr>
        <tr>
            <td class="form_table_input_info">
                留言对象：
            </td>
            <td>
                <asp:DropDownList runat="server" ID="ddlreceiveType" 
                    onselectedindexchanged="ddlreceiveType_SelectedIndexChanged" AutoPostBack="true">
                </asp:DropDownList>
            </td>
            <td>
                <div class="msgNormal">
                    选择留言的对象类型</div>
            </td>
        </tr>
        <tr runat="server" id="trStoreCenter" visible="false">
            <td class="form_table_input_info">
                销售中心名称：
            </td>
            <td>
                <asp:TextBox ID="txtStoreCenter" runat="server" ReadOnly="true"></asp:TextBox>
                <asp:HiddenField runat="server" ID="hfstorecenterid" />
            </td>
            <td>
                <asp:Panel ID="txtStoreCenterTip" runat="server">
                </asp:Panel>
            </td>
        </tr>
        <tr runat="server" id="trStore" visible="false">
            <td class="form_table_input_info">
                门店名称：
            </td>
            <td>
                <asp:TextBox ID="txtStore" runat="server" ReadOnly="true"></asp:TextBox>
                <asp:HiddenField runat="server" ID="hfstoreid" />
            </td>
            <td>
                <asp:Panel ID="txtStoreTip" runat="server">
                </asp:Panel>
            </td>
        </tr>
        <tr>
            <td class="form_table_input_info">
                留言：
            </td>
            <td colspan="2">
                <fckeditorv2:fckeditor id="txtMessage" runat="server" height="205px">
                </fckeditorv2:fckeditor>
                <div class="msgNormal">
                    留言详细信息</div>
            </td>
        </tr>
    </table>
</asp:Content>
<asp:Content ID="ContBottom" runat="server" ContentPlaceHolderID="pagebottom">
    <asp:Button ID="Button1" runat="server" CssClass="inputbutton" Text="保存" onMouseOver="javascript:document.getElementById(this.id).className='inputbutton_a'"
        onMouseOut="javascript:document.getElementById(this.id).className='inputbutton'"
        OnClick="btnSave_Click" />
    <asp:HyperLink ID="HyperLink2" onclick="javascript:history.back()" runat="server"
        CssClass="inputbutton" Width="65px" Height="20px" onMouseOver="javascript:document.getElementById(this.id).className='inputbutton_a'"
        onMouseOut="javascript:document.getElementById(this.id).className='inputbutton'">返  回</asp:HyperLink>
</asp:Content>
